<?php
function ListProductCat($idP=0)
{
    global $dbsql,$language;
    
    $sql_select = "select * from tblproduct_category where
            iParentId=$idP and cLanguage='$language' and iStatus=1";
    return $dbsql->load($sql_select);
}
?>